- The XBRL Standard
- XBRL Specifications
- Registries
- Functions Registry 1.0
- Functions Registry
- xfi:entity
- 80130:
Function test xfi:entity
Documentation
Tests of xfi:entity($item as element(xbrli:item)) as element(xbrli:entity)
Owners
Name
|
Affiliation
|
Email
|
Start
|
End
|
Herm Fischer |
UBMatrix / Mark V Systems
|
fischer@markv.com |
10-03-2008 at 00:00:00 |
|
References
http://www.xbrl.org/Specification/XF-PWD-2006-12-07.htm#_Toc152670684
Test Case Variations
V-01
Returns correct entity element for item
Documentation
Inputs
Outputs
-
Result test:
$result instance of element(xbrli:entity) and
count( $result ) eq 1 and
$result is /xbrli:xbrl/xbrli:context[@id eq 'context-1']/xbrli:entity
V-02
Entity for concept 2
Documentation
Inputs
Outputs
-
Result test:
$result instance of element(xbrli:entity) and
count( $result ) eq 1 and
$result is /xbrli:xbrl/xbrli:context[@id eq 'context-2']/xbrli:entity
V-03
Wrong node to function
Documentation
XPath-defined error for node type incorrect.
Inputs
Outputs
-
Error code: xqt-err:XPTY0004
V-04
A sequence of concepts as argument
Documentation
XPath-defined error for node type incorrect arity of argument.
Inputs
Outputs
-
Error code: xqt-err:XPTY0004
Revisions
Name
|
On
|
Details
|
Herm Fischer |
10-03-2008 at 00:00:00 |
Created the test case.
|